﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace JXT.PrimaryKey.Batman.WcfService.Models
{
    [DataContract]
    public class DisplayColumnInfo
    {
        [DataMember]
        public string PropertyName { get; set; }

        [DataMember]
        public string ShortName { get; set; }

        [DataMember]
        public string Name { get; set; }

        [DataMember]
        public string Description { get; set; }

        [DataMember]
        public string GroupName { get; set; }

        [DataMember]
        public string Prompt { get; set; }

        [DataMember]
        public int Order { get; set; }

        [DataMember]
        public string FormatString { get; set; }

        [DataMember]
        public string NullDisplayText { get; set; }

        [DataMember]
        public bool HtmlEncode { get; set; }

        public DisplayColumnInfo()
        {
            Order = 0;
            NullDisplayText = "-";
            FormatString = "0.00";
        }
    }
}
